<?php defined( '_JEXEC' ) or die( 'Restricted access' );

JHTML::_('behavior.calendar');

JToolBarHelper::title( JText::_( 'Edit Comment' ), 'generic.png' );
JToolBarHelper::save();
JToolBarHelper::cancel( 'cancel', 'Close' );

?>
<form action="index.php" method="post" name="adminForm" id="adminForm">
  <fieldset class="adminform">
    <legend>Comment</legend>
    <table class="admintable">
    <tr>
      <td width="100" align="right" class="key">
        Name:
      </td>
      <td>
        <input class="text_area" type="text" name="full_name" id="full_name" size="50" maxlength="250" value="<?php echo $this->row->full_name;?>" />
      </td>
    </tr>
    <tr>
      <td width="100" align="right" class="key">
        Comment:
      </td>
      <td>
        <textarea class="text_area" cols="20" rows="4" name="comment_text" id="comment_text" style="width:500px"><?php echo $this->row->comment_text; ?></textarea>
      </td>
    </tr>
    <tr>
      <td width="100" align="right" class="key">
        Comment Date:
      </td>
      <td>          
        <?php echo JHTML::_('calendar', $this->row->comment_date, 'comment_date', 'comment_date'); ?>
      </td>
    </tr>
    </table>
  </fieldset>
  <?php echo JHTML::_( 'form.token' ); ?>
  <input type="hidden" name="id" value="<?php echo $this->row->id; ?>" />	
  <input type="hidden" name="option" value="<?php echo $option; ?>" />
  <input type="hidden" name="controller" value="comments" />
  <input type="hidden" name="task" value="" />
</form>
